<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/erp/T_crs_sync.js此处编写
 -->
<template>
    <div>
        <view-grid
                   ref="grid"
                   :columns="columns"
                   :detail="detail"
                   :editFormFields="editFormFields"
                   :editFormFileds="editFormFields"
                   :editFormOptions="editFormOptions"
                   :searchFormFields="searchFormFields"
                   :searchFormFileds="searchFormFields"
                   :searchFormOptions="searchFormOptions"
                   :table="table"
                   :extend="extend">
        </view-grid>
    </div>
</template>

<script>
    import extend from "@/extension/erp/T_crs_sync.js";
    import ViewGrid from "@/components/basic/ViewGrid.vue";
    var vueParam = {
        components: {
            ViewGrid
        },
        data() {
            return {
                table: {
                    key: 'c_order_item_id',
                    footer: "Foots",
                    cnName: 't_crs_sync',
                    name: 'T_crs_sync',
                    url: "/T_crs_sync/",
                    sortName: "c_order_item_id"
                },
                extend: extend,
                editFormFields: {"c_create_time":"","c_order_item_id":"","c_snowseason":"","c_status":""},
                editFormOptions: [[{"title":"c_create_time","field":"c_create_time","disabled":true,"type":"datetime"},
                               {"title":"c_order_item_id","required":true,"field":"c_order_item_id","disabled":true,"type":"text"}],
                              [{"title":"雪季","required":true,"field":"c_snowseason","type":"text"},
                               {"title":"c_status","required":true,"field":"c_status","disabled":true,"type":"text"}]],
                searchFormFields: {},
                searchFormOptions: [],
                columns: [{field:'c_create_time',title:'c_create_time',type:'bigint',width:120,hidden:true,readonly:true,align:'left'},
                       {field:'c_order_item_id',title:'c_order_item_id',type:'string',width:120,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'c_snowseason',title:'雪季',type:'string',width:120,require:true,align:'left',sortable:true},
                       {field:'c_status',title:'c_status',type:'string',width:120,hidden:true,readonly:true,require:true,align:'left'}],
                detail: {
                    cnName:"#detailCnName",
                    columns: [],
                    sortName: "",
                    key:""
                }
            };
        }
    };
    export default vueParam;
</script>
